import React from 'react'
import {
  useRoutes, // 配置路由
} from 'react-router-dom'
import routeConfig from './router'


const App = () => {
  const routes = useRoutes(routeConfig)
  return (
    <div>{routes}</div>
  )
}

export default App